package com.borrowed.book.book.domain;

import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class SGroup {

    private Long id;
    @ApiModelProperty(value ="分组名称",example = "哈利波特系列",dataType = "String",required = true)
    private String groupName;

    @ApiModelProperty(value ="数量",example = "2",dataType = "Long")
    private Long number;

    @ApiModelProperty(value ="备注",example = "稀有资源",dataType = "String")
    private String remark;

    private Date createTime;

    private Date updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName == null ? null : groupName.trim();
    }

    public Long getNumber() {
        return number;
    }

    public void setNumber(Long number) {
        this.number = number;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}